package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ly.common.core.domain.BaseVo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * <p>
 * 项目人力劳动合同明细
 * </p>
 * @author WuZH
 * @since 2024-05-14
 */
@Getter
@Setter
@TableName ("erp_project_labor_contract_info")
@ApiModel (value = "项目人力劳动合同明细", description = "项目人力劳动合同明细")
public class ProjectLaborContractEntity extends BaseVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty ("id")
    @TableId (value = "id", type = IdType.INPUT)
    private String id;

    @ApiModelProperty ("项目Id")
    @TableField ("project_id")
    private String projectId;

    @ApiModelProperty ("项目人力Id")
    @TableField ("personnel_id")
    private String personnelId;

    @ApiModelProperty ("合同状态;1:有效;2:无效")
    @TableField ("contract_status")
    private Integer contractStatus;

    @ApiModelProperty ("合同类别;1:有固定期限;2:无固定期限")
    @TableField ("contract_type")
    private Integer contractType;

    @ApiModelProperty ("合同名称")
    @TableField ("contract_name")
    private String contractName;

    @ApiModelProperty ("合同签订日期")
    @TableField ("contract_sign_time")
    private Date contractSignTime;

    @ApiModelProperty ("试用期开始日期")
    @TableField ("attempt_start_time")
    private Date attemptStartTime;

    @ApiModelProperty ("试用期结束日期")
    @TableField ("attempt_end_time")
    private Date attemptEndTime;

    @ApiModelProperty ("开始日期")
    @TableField ("start_time")
    private Date startTime;

    @ApiModelProperty ("结束日期")
    @TableField ("end_time")
    private Date endTime;

    @ApiModelProperty ("解除日期")
    @TableField ("relieve_time")
    private Date relieveTime;

    @ApiModelProperty ("解除原因")
    @TableField ("relieve_reason")
    private String relieveReason;

    @ApiModelProperty ("备注")
    @TableField ("remarks")
    private String remarks;

    @ApiModelProperty ("添加人Id")
    @TableField ("user_id")
    private String userId;

    @ApiModelProperty ("创建时间")
    @TableField ("create_time")
    private Date createTime;

    @ApiModelProperty ("更新时间")
    @TableField ("change_time")
    private Date changeTime;

    @TableField ("is_used")
    private Integer isUsed;


}
